package com.lokyiu.tutorial.java.exerisce3;

import java.util.Random;

public class Truck extends Vehicle{
	public Truck(String brand){
		Random rand = new Random();
		super.number=rand.nextInt(9999)+1;
		super.fuel = 300 ; //in liter
		super.maxSpeed = 180 ; //in KM/hours
		super.weight = 5200 ; //Kg
		super.acceleration = 5 + rand.nextInt(8); // m/s
		super.horsePower = 800; 
		super.brand = brand;
	}
	
	
}

